<?php
$widgets = $this->widgetField();
?>

<label class="td-locked">
<div onclick="change_switch(this, '');" id="btn-locked" class="locked-<?php echo intval($widgets['data']);?>"></div>
<input type="hidden" id="<?php echo $this->field['field'];?>" name="<?php echo $widgets['name']?>" class="input-text" value="<?php echo intval($widgets['data']);?>">
</label>
